package com.jt.blog.service;

import com.jt.blog.model.Comment;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * @author jiangtao
 * @create 2016-09-23 09
 **/
@Service
public class CommentWriteServiceImpl  extends AbstractBaseService<Comment> implements CommentWriteService {
    @Override
    public void create(Comment comment) {
        comment.setCreateTime(new Date());
        mapper.insert(comment);
    }

    @Override
    public void delete(Long id) {

    }

    @Override
    public void update(Comment comment) {

    }
}
